package Presenter;
/**
 * An incrementable integer
 * @author Matthew Miller
 *
 */
public class IncrementableInteger{

	public int number;
	
	/**
	 * Constructs the integer
	 * @param int num
	 */
	public IncrementableInteger(int num) {
		
		number = num;
	}
	
	/**
	 * Increments the integer by i
	 * @param int i
	 */
	public void add(int i) {
		number = number + i;
	}
	
	/**
	 * Returns the integer
	 * @return int number
	 */
	public int getInt() {
		return number;
	}
	
	/**
	 * Set the incremental integer
	 * @param int i
	 */
	public void set(int i) {
		number = i;
	}
}
